using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace LogManager.Base.Models.Event.Filter
{
    public interface IEventTypeFilter
    {
        /// <summary>
        /// Event type to filter
        /// </summary>
        [Required]
        [DisplayName("Event Type")]
        string Type { get; set; }

        /// <summary>
        /// Name of the property to filter, the property has to exist at least
        /// </summary>
        [DisplayName("Property Name")]
        string PropertyName { get; set; }

        /// <summary>
        /// If a property value is given the property with the propertyName will be validatet against this value
        /// </summary>
        [DisplayName("Property Value")]
        string PropertyValue { get; set; }
    }
}